package top.revery.datasource.dto;

import org.springframework.data.jpa.repository.JpaRepository;
import top.revery.api.entity.other.BaseCategory;

import java.util.List;

/**
 * <h1> --- 分类数据库接口 --- </h1>
 * Created by  revery.top jun
 * Date  2019-12-03 15:47
 */
public interface CategoryDto extends JpaRepository<BaseCategory,Long> {
    List<BaseCategory> findByParentID(int parentID);
}
